package fun.joney.controller;

import fun.joney.Main;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.Label;
import javafx.scene.input.MouseEvent;
import javafx.scene.layout.BorderPane;
import javafx.scene.layout.BorderPaneBuilder;
import javafx.scene.layout.VBox;
import javafx.stage.Popup;
import javafx.stage.Stage;
import java.net.URL;
import java.util.ResourceBundle;

/**
 * @author wangxianchen
 * @create 2018-06-08
 * @desc
 */
public class About extends VBox implements Initializable {

    @FXML
    private Label label;

    @Override
    public void initialize(URL location, ResourceBundle resources) {
        StringBuffer sb = new StringBuffer();
        sb.append("JavaFX project demo \n\n");
        sb.append("ver.: 1.0 \n");
        sb.append("author: joney \n");
        sb.append("date: 2018-06-08 \n");
        sb.append("email: wxc_002@163.com \n");
        sb.append("* Only for learning and reference *");
        label.setText(sb.toString());
    }

}
